/*
*配置文件
*配置菜单和接口地址
*/

//以下只是一个模版，接口以node具体模块和服务为准
//菜单以实际文档和原型为准
const config = {
    //接口地址 键值对应模块和路径
    router:{
         // patientOrigin:'http://114.55.38.80:3001',//添加患者来源接口，门店管理相关,李东雪接口
         // patientOrigin:'http://114.55.39.125:3005',//添加患者来源接口，门店管理相关,李东雪接口
         // patientOrigin:'http://10.10.10.110:3000',//添加患者来源接口，门店管理相关,李东雪接口
         // patientOrigin:'http://10.10.10.67:3000',//添加患者来源接口，门店管理相关,李东雪接口
        patientOrigin:'http://10.10.10.97:3000',//添加患者来源接口，门店管理相关,李东雪接口
        medical:'http://10.10.10.25:3000',//医疗门诊 模块后台接口地址  小冷接口
        UploadFile: "http://47.97.17.157:3404",//上传图片、文件

        // patientOrigin:'http://139.196.72.46:3000',//添加患者来源接口，门店管理相关
        login:'http://localhost:3300', //登录注册 模块后台接口地址
        //medical:'http://localhost:3301', //医疗门诊 模块后台接口地址
        workbench:'http://localhost:3302',//工作台 模块后台接口地址
    },
    //菜单 一般菜单都是在配置文件中先写好，然后到页面根据配置好的进行渲染即可
    //菜单可以分为多级菜单，对应成一个树形结构即可
    //结构为[ {name:'', url:'', key:'', son:[]} ]
    //name:菜单名称，url:菜单对应路由地址，key:菜单对应绑定需要，son:子级数组
    //这里key url都是唯一绑定项
    menu:[
        //需要注意，目前中医馆一级菜单为导航 二级三级才为菜单
        //所以如果菜单有子集 则不需要写url，因为父级菜单需要展开，而不是跳转，当然写了也没问题
        //但是如果每个导航都有首页，则需要进行跳转，或者说导航选项首页不在菜单栏中，需要跳转，则需要写url，看业务需要
        //至于key和url规则 自行定义
        // {name:'医疗门诊',url:'/medical',key:'medical_department',son:[
        //     //二级菜单拥有子集
        //     {name:'问诊挂号',key:'guahao',son:[
        //         {name:'专家门诊',url:'/expert',key:'expert',son:[]},
        //         {name:'教授门诊',url:'/professor',key:'professor',son:[]},
        //         {name:'主治门诊',url:'/doctor',key:'doctor',son:[]},
        //     ]},
        //     {name:'门诊记录',url:'/clinicRecord',key:'clinicRecord',son:[]},
        //     {name:'门诊信息',url:'/clinicInfo',key:'clinicInfo',son:[]},
        //     {name:'医疗服务',url:'/service',key:'service',son:[]},
        //     {name:'医疗药品',url:'/medicine',key:'medicine',son:[]},
        // ]},
        // {name:'工作台',url:'/workbench',key:'workbench',son:[
        //     {name:'专家工作台',url:'/expertWork',key:'expertWork',son:[]},
        //     {name:'教授工作台',url:'/professorWork',key:'professorWork',son:[]},
        //     {name:'教授工作台',url:'/doctorWork',key:'doctorWork',son:[]},
        // ]},

        // {
        //   name: '工作台', key: 'homepage',keyword:'01', son: [
        //   { name: '药品/物资库管理', keyword:'011',key: 'goodsManage', url: '/goodsManage', son: [] },
        //   { name: '门店管理', keyword:'012', key: 'storeManage', son: [
        //       {name:'门店管理',keyword:'0121', url:'/storeManage',key:'storeManage',son:[]},
        //       {name:'科室管理',keyword:'0122',url:'/departmentsManage',key:'departmentsManage',son:[]},
        //       {name:'角色组管理',keyword:'0123',url:'/roleManage',key:'roleManage',son:[]},
        //       {name:'员工管理',keyword:'0124',url:'/employeeManage',key:'employeeManage',son:[]},
        //       {name:'医生挂号费管理',keyword:'0125',url:'/registrationFeeManage',key:' registrationFeeManage',son:[]},
        //       {name:'排班设置',keyword:'0126',url:'/scheduleSetting',key:'scheduleSetting',son:[]},
        //       // {name:'病例模板管理',url:'/caseTemplate',key:'caseTemplate',son:[]},
        //       // {name:'处方模板',url:'/prescriptionTemplate',key:'prescriptionTemplate',son:[]},
        //       // {name:'辅助治疗模板',url:'/assistantTherapyTemplate',key:'assistantTherapyManage',son:[]},
        //       {name:'会员类型折扣管理',keyword:'0127',url:'/userTypeManage',key:'userTypeManage',son:[]},
        //       {name:'患者来源管理',keyword:'0128',url:'/patientOriginManage',key:'patientOriginManage',son:[]},
        //   ]}
        // ]
        // },
        {
          name: '医疗', keyword:'02',key: 'medical', son: [
          { name: '工作台', keyword:'031',key: 'homepage', url: '/', son: []},
          { name: '登记并分诊',keyword:'021', key: 'registerTriage', url: '/registerTriage', son: [] },
          { name: '分诊', keyword:'022',key: 'triage', url: '/triage', son: [] },
          // { name: '医生门诊',keyword:'023', key: 'doctorSection', url: '/doctorSection', son: [] },
          { name: '外科治疗',keyword:'024', key: 'assistantTherapy', url: '/assistantTherapy', son: [] },
          // { name: '药房', keyword:'025',key: 'pharmacy', url: '/pharmacy', son: [] },
          { name: '收银', keyword:'026',key: 'cashManage', son: [
              {name:'门诊收费',keyword:'027',url:'/cash', key: 'cash',son:[]},
          ] },
          // { name: '网上预约', key: 'appointmentOnline', url: '/appointmentOnline', son: [] },
          // { name: '问诊中心', key: 'inquiryCenter', url: '/inquiryCenter', son: [] },
          { name: '医生排班',keyword:'028', key: 'scheduleManage', url: '/scheduleManage', son: [] },
          // { name: '药品/物资库',keyword:'029', key: 'goods', url: '/goods', son: [] },
          // { name: '统计报表', key: 'statisticsStatements', url: '/statisticsStatements', son: [] },
          // { name: '会员管理', key: 'userManage', url: '/userManage', son: [] },
            { name: '门店管理', keyword:'012', key: 'storeManage', son: [
                {name:'门店管理',keyword:'0121', url:'/storeManage',key:'storeManage',son:[]},
                {name:'科室管理',keyword:'0122',url:'/departmentsManage',key:'departmentsManage',son:[]},
                {name:'角色组管理',keyword:'0123',url:'/roleManage',key:'roleManage',son:[]},
                {name:'员工管理',keyword:'0124',url:'/employeeManage',key:'employeeManage',son:[]},
                {name:'医生挂号费管理',keyword:'0125',url:'/registrationFeeManage',key:' registrationFeeManage',son:[]},
                {name:'排班设置',keyword:'0126',url:'/scheduleSetting',key:'scheduleSetting',son:[]},
                // {name:'病例模板管理',url:'/caseTemplate',key:'caseTemplate',son:[]},
                // {name:'处方模板',url:'/prescriptionTemplate',key:'prescriptionTemplate',son:[]},
                // {name:'辅助治疗模板',url:'/assistantTherapyTemplate',key:'assistantTherapyManage',son:[]},
                {name:'会员类型折扣管理',keyword:'0127',url:'/userTypeManage',key:'userTypeManage',son:[]},
                {name:'患者来源管理',keyword:'0128',url:'/patientOriginManage',key:'patientOriginManage',son:[]},
            ]},
          { name: '操作日志', keyword:'030',key: 'operationLog', url: '/operationLog', son: [] },
        ]
        },
        //{ name: '管理员', key: 'admin', son: [] },
    ],

    //权限数据
    gData:[
        {
            name: '医疗', keyword:'02',key: 'medical', son: [
            { name: '工作台', keyword:'031',key: 'homepage', url: '/', son: []},
            { name: '登记并分诊',keyword:'021', key: 'registerTriage', url: '/registerTriage', son: [] },
            { name: '分诊', keyword:'022',key: 'triage', url: '/triage', son: [] },
            // { name: '医生门诊',keyword:'023', key: 'doctorSection', url: '/doctorSection', son: [] },
            { name: '外科治疗',keyword:'024', key: 'assistantTherapy', url: '/assistantTherapy', son: [] },
            // { name: '药房', keyword:'025',key: 'pharmacy', url: '/pharmacy', son: [] },
            { name: '收银', keyword:'026',key: 'cashManage', son: [
                {name:'门诊收费',keyword:'027',url:'/cash', key: 'cash',son:[]},
            ] },
            // { name: '网上预约', key: 'appointmentOnline', url: '/appointmentOnline', son: [] },
            // { name: '问诊中心', key: 'inquiryCenter', url: '/inquiryCenter', son: [] },
            { name: '医生排班',keyword:'028', key: 'scheduleManage', url: '/scheduleManage', son: [] },
            // { name: '药品/物资库',keyword:'029', key: 'goods', url: '/goods', son: [] },
            // { name: '统计报表', key: 'statisticsStatements', url: '/statisticsStatements', son: [] },
            // { name: '会员管理', key: 'userManage', url: '/userManage', son: [] },
            { name: '门店管理', keyword:'012', key: 'storeManage', son: [
                {name:'门店管理',keyword:'0121', url:'/storeManage',key:'storeManage',son:[]},
                {name:'科室管理',keyword:'0122',url:'/departmentsManage',key:'departmentsManage',son:[]},
                {name:'角色组管理',keyword:'0123',url:'/roleManage',key:'roleManage',son:[]},
                {name:'员工管理',keyword:'0124',url:'/employeeManage',key:'employeeManage',son:[]},
                {name:'医生挂号费管理',keyword:'0125',url:'/registrationFeeManage',key:' registrationFeeManage',son:[]},
                {name:'排班设置',keyword:'0126',url:'/scheduleSetting',key:'scheduleSetting',son:[]},
                // {name:'病例模板管理',url:'/caseTemplate',key:'caseTemplate',son:[]},
                // {name:'处方模板',url:'/prescriptionTemplate',key:'prescriptionTemplate',son:[]},
                // {name:'辅助治疗模板',url:'/assistantTherapyTemplate',key:'assistantTherapyManage',son:[]},
                {name:'会员类型折扣管理',keyword:'0127',url:'/userTypeManage',key:'userTypeManage',son:[]},
                {name:'患者来源管理',keyword:'0128',url:'/patientOriginManage',key:'patientOriginManage',son:[]},
            ]},
            { name: '操作日志', keyword:'030',key: 'operationLog', url: '/operationLog', son: [] },
        ]
        },
        //{ name: '管理员', key: 'admin', son: [] },
    ],

    //名族数据
    nationData: [
        {
            "id": "01",
            "name": "汉族"
        },
        {
            "id": "02",
            "name": "蒙古族"
        },
        {
            "id": "03",
            "name": "回族"
        },
        {
            "id": "04",
            "name": "藏族"
        },
        {
            "id": "05",
            "name": "维吾尔族"
        },
        {
            "id": "06",
            "name": "苗族"
        },
        {
            "id": "07",
            "name": "彝族"
        },
        {
            "id": "08",
            "name": "壮族"
        },
        {
            "id": "09",
            "name": "布依族"
        },
        {
            "id": "10",
            "name": "朝鲜族"
        },
        {
            "id": "11",
            "name": "满族"
        },
        {
            "id": "12",
            "name": "侗族"
        },
        {
            "id": "13",
            "name": "瑶族"
        },
        {
            "id": "14",
            "name": "白族"
        },
        {
            "id": "15",
            "name": "土家族"
        },
        {
            "id": "16",
            "name": "哈尼族"
        },
        {
            "id": "17",
            "name": "哈萨克族"
        },
        {
            "id": "18",
            "name": "傣族"
        },
        {
            "id": "19",
            "name": "黎族"
        },
        {
            "id": "20",
            "name": "傈僳族"
        },
        {
            "id": "21",
            "name": "佤族"
        },
        {
            "id": "22",
            "name": "畲族"
        },
        {
            "id": "23",
            "name": "高山族"
        },
        {
            "id": "24",
            "name": "拉祜族"
        },
        {
            "id": "25",
            "name": "水族"
        },
        {
            "id": "26",
            "name": "东乡族"
        },
        {
            "id": "27",
            "name": "纳西族"
        },
        {
            "id": "28",
            "name": "景颇族"
        },
        {
            "id": "29",
            "name": "柯尔克孜族"
        },
        {
            "id": "30",
            "name": "土族"
        },
        {
            "id": "31",
            "name": "达斡尔族"
        },
        {
            "id": "32",
            "name": "仫佬族"
        },
        {
            "id": "33",
            "name": "羌族"
        },
        {
            "id": "34",
            "name": "布朗族"
        },
        {
            "id": "35",
            "name": "撒拉族"
        },
        {
            "id": "36",
            "name": "毛难族"
        },
        {
            "id": "37",
            "name": "仡佬族"
        },
        {
            "id": "38",
            "name": "锡伯族"
        },
        {
            "id": "39",
            "name": "阿昌族"
        },
        {
            "id": "40",
            "name": "普米族"
        },
        {
            "id": "41",
            "name": "塔吉克族"
        },
        {
            "id": "42",
            "name": "怒族"
        },
        {
            "id": "43",
            "name": "乌孜别克族"
        },
        {
            "id": "44",
            "name": "俄罗斯族"
        },
        {
            "id": "45",
            "name": "鄂温克族"
        },
        {
            "id": "46",
            "name": "崩龙族"
        },
        {
            "id": "47",
            "name": "保安族"
        },
        {
            "id": "48",
            "name": "裕固族"
        },
        {
            "id": "49",
            "name": "京族"
        },
        {
            "id": "50",
            "name": "塔塔尔族"
        },
        {
            "id": "51",
            "name": "独龙族"
        },
        {
            "id": "52",
            "name": "鄂伦春族"
        },
        {
            "id": "53",
            "name": "赫哲族"
        },
        {
            "id": "54",
            "name": "门巴族"
        },
        {
            "id": "55",
            "name": "珞巴族"
        },
        {
            "id": "56",
            "name": "基诺族"
        }
    ]
}
export default config;